//
//  YWImageView.m
//  yuwei
//
//  Created by slz on 17/1/6.
//  Copyright © 2017年 youyuwei. All rights reserved.
//

#import "YWImageView.h"

@implementation YWImageView

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self){
        self.contentMode = UIViewContentModeScaleAspectFill;
        self.clipsToBounds = YES;
    }
    return self;
}

- (instancetype)init{
    self = [super init];
    if (self){
        self.contentMode = UIViewContentModeScaleAspectFill;
        self.clipsToBounds = YES;
    }
    return self;
}

@end
